/**
 * COPYRIGHT HangZhou Trustway Technology Company Limited
 * All right reserved.
 */
package com.robam.cloud.authcenter.config;

import com.robam.cloud.common.util.TokenEncoder;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Description
 * @Author 薛铁琪
 * @CreateTime 2020/7/20 21:23
 * @Version 1.0
 */
@Configuration
public class TokenEncoderConfig {
    @Bean
    @ConfigurationProperties(prefix = "token.encoder")
    public TokenEncoder tokenEncoder() {
        return new TokenEncoder();
    }
}
